package ch2;

public class TestJucimer2 {

	public static void main(String[] args) {
		JuiceMaker2 m = new JuiceMaker2();
		m.brand = "美的";
		m.color = "黑";
		m.watt = 45;

		String f = "桃子";

		String jieguo = m.makeJuice(f);
		System.out.println("我喝到了" + jieguo);
		f = "梨子";
		jieguo = m.makeJuice(f);
		System.out.println("喝到了" + jieguo);
		System.out.println(">>>>>>>>>>>>>.");
		String r = m.makeJuice("苹果");
		System.out.println("喝到了" + r);
		System.out.println(">>>>>>>>>>>>>>>>>>>>>>.");
		String r2 = m.makeJuice2("菠萝", "西瓜");
		System.out.println("喝到了" + r2);
	}

}
